package com.sgb.kjwl.model.entity.user;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class SkuItemAttrEntity implements Serializable {
    /**
     * "isCartTitleName": "1",
     * "isDelete": "0",
     * "isPrice": "1",
     * "paramData": "材质",
     * "isSelect": "1",
     * "id": "882",
     */
    @SerializedName("isCartTitleName")
    private String isCartTitleName;
    @SerializedName("isDelete")
    private String isDelete;
    @SerializedName("isPrice")
    private String isPrice;
    @SerializedName("paramData")
    private String paramData;
    @SerializedName("isSelect")
    private String isSelect;
    @SerializedName("id")
    private String id;
    @SerializedName("list")
    private List<Child> list;

    public String getIsCartTitleName() {
        return isCartTitleName;
    }

    public void setIsCartTitleName(String isCartTitleName) {
        this.isCartTitleName = isCartTitleName;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getIsPrice() {
        return isPrice;
    }

    public void setIsPrice(String isPrice) {
        this.isPrice = isPrice;
    }

    public String getParamData() {
        return paramData;
    }

    public void setParamData(String paramData) {
        this.paramData = paramData;
    }

    public String getIsSelect() {
        return isSelect;
    }

    public void setIsSelect(String isSelect) {
        this.isSelect = isSelect;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<Child> getList() {
        return list;
    }

    public void setList(List<Child> list) {
        this.list = list;
    }

    public static class Child {
        @SerializedName("itemParamId")
        private String itemParamId;
        @SerializedName("id")
        private String id;
        @SerializedName("valData")
        private String valData;
        @SerializedName("valId")
        private String valId;
        @SerializedName("checked")
        private boolean checked;
        private boolean checked1;
        private boolean enabled;

        public String getItemParamId() {
            return itemParamId;
        }

        public void setItemParamId(String itemParamId) {
            this.itemParamId = itemParamId;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getValData() {
            return valData ==null?"":valData;
        }

        public void setValData(String valData) {
            this.valData = valData;
        }

        public String getValId() {
            return valId;
        }

        public void setValId(String valId) {
            this.valId = valId;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public boolean isChecked1() {
            return checked1;
        }

        public void setChecked1(boolean checked1) {
            this.checked1 = checked1;
        }
    }
}
